// 引入vue-router 库 编写 router 路由表
import Vue from 'vue';
import VueRouter from 'vue-router'
//固定写法
Vue.use(VueRouter)

export const routes = [

  {
    path: '/',
    name: '信息采集-组件',
    component: () => import('@/pages/quickEditor/index.vue'),
    meta: {
      title: '信息采集'
    }
  },

]

const router = new VueRouter(
  {
    mode: 'history',
    routes
  }
)

// 导出路由对象
export default router
